package com.dy.placeOrder2.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import com.dy.pojo.Speci;
import com.dy.placeOrder2.mapper.SpeciMapper;
import com.dy.placeOrder2.service.SpeciService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2024-11-22
 */
@Service
public class SpeciServiceImpl extends ServiceImpl<SpeciMapper, Speci> implements SpeciService {

    @Autowired
    private SpeciMapper speciMapper;


    @Override
    public List<Speci> findAll(Integer id) {
        System.out.println("____________________________________________"+id);
        return speciMapper.findAll(id);
    }
}
